//
//  YQColorAndFont.h
//  NewRetail
//
//  Created by yuqin on 2019/6/18.
//  Copyright © 2019 yuqin. All rights reserved.
//

#ifndef YQColorAndFont_h
#define YQColorAndFont_h

// RGB颜色方法
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define MainBlackColor                      UIColorFromRGB(0x232629)//主题标签黑色
#define MainGrayColor                       UIColorFromRGB(0x707070)//描述文字灰
#define MainBackgroundColor                 UIColorFromRGB(0xFFFFFF)//背景灰色
#define MainLabelBlackColor                 UIColorFromRGB(0x232629)//label黑色
#define MainNavBarColor                     UIColorFromRGB(0xffffff)//导航栏白色
#define LineColor                           UIColorFromRGB(0xeeeeee)//分割线颜色
#define COLOR_Text_Gay                      UIColorFromRGB(0x919191)//文字灰色
#define WhiteColor                          UIColorFromRGB(0xffffff)//白色
#define MainRedTextColor                    UIColorFromRGB(0xE13134)
#define TableViewBackGroundColor            UIColorFromRGB(0xf5f5f5)
#define MainBlueColor                       UIColorFromRGB(0x649be8)
#define NormalButtonColor                   UIColorFromRGB(0x5884e1)


#pragma mark - 字体

#define kDescribeFont FIT(16)
#define kLittleFont FIT(13)
#define kCellFont FIT(14)
#define kCoinsFont FIT(20)
#define kNormalButtonFont FIT(15)
#define YQ_Font(a) [UIFont systemFontOfSize:a]
#define kTheTitleFont FIT(15)

#pragma mark - 间隔

#define kMargin_left FIT(16)
#define kMargin_right FIT(16)
#define kMargin_top FIT(16)
#define kButtonHeight FIT(40)

#define TabBarHeight                        (HBISIphoneX?82.0f:49.0f)
//#define kSetFontButton  [UIFont systemFontOfSize:FIT(15)]

#define kCommitButtonHeight FIT(45)

#endif /* YQColorAndFont_h */
